"use strict";
function nodet(a, b) {
    if (typeof a === 'number' && typeof b === 'number') {
        return a * b;
    }
    else if (typeof a === 'string' && typeof b === 'string') {
        return a + b;
    }
    throw new Error('a|b not anumber|string');
}
var s = nodet(1, 2);
function fn(a, b) {
    if (b === void 0) { b = '2'; }
}
